<template>
  <el-menu
      style="min-width: 200px;min-height: calc(100vh - 50px)"
      default-active="/news"
      class="el-menu-vertical-demo"
      router
      >
    <el-menu-item index="/user">
      <i class="el-icon-user"></i>
      <span slot="title">用户列表</span>
    </el-menu-item>
    <el-menu-item index="/news">
      <i class="el-icon-menu"></i>
      <span slot="title">新闻列表</span>
    </el-menu-item>
  </el-menu>
</template>

<script>
export default {
  name: "Aside"
}
</script>

<style scoped>

</style>